<extend name="Base:base" />
<block name="head">
    <script type="text/javascript" charset="utf-8">
        window.UEDITOR_HOME_URL = "__ROOT__/Public/ueditor/";  //UEDITOR_HOME_URL、config、all这三个顺序不能改变
    </script>
    <script type="text/javascript" charset="utf-8" src="__ROOT__/Public/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__ROOT__/Public/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/jquery-ui-1.10.4.custom.js"></script>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/jquery-ui-1.10.4.custom.css" />
</block>
<block name="title">{$title}</block>
<block name="content">
    <form action="{:U('Admin/Applicant/addDo')}" enctype="multipart/form-data" method="post">
        <table class="table">
            <tr>
                <th>姓名</th>
                <th>电子邮箱</th>
                <th>联系方式</th>
                <th>上传简历</th>
            </tr> 
            <tr>
                <th><input type="text" name="name"/></th>
                <th><input type="email" name="email"/></th>
                <th><input type="tel" name="tel"/></th>
                <td><input type="file" name="resumeurl" /></td>
            </tr>
            <tr>
                <th colspan="6">备注信息</th>
            </tr>
            <tr>
                <td colspan="6"><textarea name="message" id="content"></textarea></td>
            </tr>
        </table>
        <input type="submit" value="保存新增"/>
    </form>
    <script>
        UE.getEditor('content', {
            "initialFrameWidth": "100%",
            "initialFrameHeight": 250,
        });
    </script>
</block>